package vno.sci.event
{
	import flash.events.Event;

	public class MinimapEvent extends Event
	{
		public static const MINIMAP_CLICKED:String = "MINIMAP_CLICKED";
		private var _x:int;
		private var _y:int;
		public function MinimapEvent(s:String, x:int, y:int)
		{
			super(s,false,false);
			_x = x;
			_y = y;
		}
		public function get x():int
		{
			return _x;
		}
		public function get y():int
		{
			return _y;
		}
		
		override public function clone():Event
		{
			return new MinimapEvent(super.type, _x, _y);
		}
		
		override public function toString():String
		{
			return formatToString("MimimapEvent", super.type, super.bubbles, super.cancelable, super.eventPhase);
		}
	}
}